<#include "../base.ftl"/>
<#macro cssfile>
</#macro>

<#macro scriptfile>
</#macro>

<#macro breadcrumb>
    <ul class="breadcrumb">
      <#include "../index-menu.ftl"/>
     <li class="active">船舶信息</li>
    </ul>
</#macro>

<#macro title>
广大物流云平台
</#macro>
<#macro jsscript>
$(function(){
	$.ajax({
		url: '${request.contextPath}/list/shipManagement/tsmShipping/slist.html',
		type:'post',
		dataType: 'json',
		success:function(data){
//			alter(data);
			$.map(data.result[0],function(key,value){
				console.log(key+"="+value);
				$("#"+value.toLocaleLowerCase()).html(key);
			});
		}
	});
});
</#macro>
<#macro main>
	<table id="gridTable" class="table table-bordered table-hover table-condensed">
        <tbody>
          <tr>
            <td>船舶编号</td>
            <td id="shipping_id"></td>
          </tr>
          <tr>
            <td>船舶代码</td>
            <td id="shipping_code"></td>
          </tr>
          <tr>
            <td>名称</td>
            <td id="shipping_name"></td>
          </tr>
          <tr>
		  	<td>类型</td>
		  	<td id="shipping_type"></td>
		  </tr>
          <tr>
		  	<td>船级</td>
		  	<td id="shipping_level"></td>
		  </tr>
          <tr>
		  	<td>船籍港</td>
		  	<td id="registry_port"></td>
		  </tr>
          <tr>
		  	<td>船员定额</td>
		  	<td id="crew_num"></td>
		  </tr>
          <tr>
		  	<td>船速</td>
		  	<td id="ship_speed"></td>
		  </tr>
          <tr>
		  	<td>海关编号</td>
		  	<td id="customs_no"></td>
		  </tr>
          <tr>
		  	<td>船舶呼号</td>
		  	<td id="call_sign"></td>
		  </tr>
          <tr>
		  	<td>IMO编号</td>
		  	<td id="imo_no"></td>
		  </tr>
          <tr>
		  	<td>总长</td>
		  	<td id="ship_length"></td>
		  </tr>
          <tr>
		  	<td>型宽</td>
		  	<td id="ship_width"></td>
		  </tr>
          <tr>
		  	<td>型深</td>
		  	<td id="ship_depth"></td>
		  </tr>
          <tr>
		  	<td>垂线间长</td>
		  	<td id="ship_lpp"></td>
		  </tr>
          <tr>
		  	<td>满载吃水</td>
		  	<td id="loaded_draft"></td>
		  </tr>
          <tr>
		  	<td>夏季干舷</td>
		  	<td id="summer_freeboard"></td>
		  </tr>
          <tr>
		  	<td>船体材料</td>
		  	<td id="ship_material"></td>
		  </tr>
          <tr>
		  	<td>建造日期</td>
		  	<td id="build_date"></td>
		  </tr>
          <tr>
		  	<td>状态</td>
		  	<td id="status"></td>
		  </tr>
          <tr>
		  	<td>所属船东</td>
		  	<td id="owner_name"></td>
		  </tr>
        </tbody>
    </table>
</#macro>